﻿
@{
    Layout = null;
}


<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
 <!--<![endif]-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>安装程序</title>
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <link href="~/assets/css/install.css" rel="stylesheet" />
    <!--[if lt IE 9]>
      <script src="../assets/libs/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 8]>
      <script src="../assets/libs/respond.min.js"></script>
    <![endif]-->

</head>
<body>
    <div class="install-container">
        <div class="paper">
            <div class="paper-heading">
                <h1><span class="brand">EduSoho网络课堂</span> <span class="text-muted">安装向导 <small class="text-info">v7.2.0</small></span></h1>
            </div>
            <div class="paper-body">
                <ul class="nav nav-pills nav-justified">
                    <li class="disabled active"><a>1. 环境检测</a></li>
                    <li class="disabled "><a>2. 创建数据库</a></li>
                    <li class="disabled "><a>3. 初始化系统</a></li>
                    <li class="disabled "><a>4. 完成安装</a></li>
                </ul>

                <table class="table table-striped table-bordered">
                    <thead>
                        <tr>
                            <th width="40%">环境检测</th>
                            <th width="20%">推荐配置</th>
                            <th width="20%">当前状态</th>
                            <th width="20%">最低要求</th>
                        </tr>
                    </thead>
                    <tbody>

                        <tr>
                            <td>操作系统</td>
                            <td>Linux</td>
                            <td>
                                <span class="text-success">√ WINNT</span>
                            </td>
                            <td>--</td>
                        </tr>

                        <tr>
                            <td>PHP版本</td>
                            <td>5.5.x</td>
                            <td>
                                <span class="text-success">√ 5.4.30</span>
                            </td>
                            <td>5.3.3</td>
                        </tr>

                        <tr>
                            <td>PDO_MySQL</td>
                            <td>必须</td>
                            <td>
                                <span class="text-success">√ 已安装</span>
                            </td>
                            <td>必须</td>
                        </tr>

                        <tr>
                            <td>
                                文件上传大小
                                <div class="text-muted">该值决定可以上传视频的最大大小</div>
                            </td>
                            <td>大于200M</td>
                            <td>
                                <span class="text-success">√ 1024M</span>
                            </td>
                            <td>2M</td>
                        </tr>

                        <tr>
                            <td>
                                表单数据大小
                                <div class="text-muted">该值不能小于文件上传大小的值</div>
                            </td>
                            <td>大于200M</td>
                            <td>
                                <span class="text-success">√ 1024M</span>
                            </td>
                            <td>8M</td>
                        </tr>

                        <tr>
                            <td>
                                PHP脚本最大执行时间
                                <div class="text-muted">该值决定上传视频时，最长可使用的时间</div>
                            </td>
                            <td>大于300秒</td>
                            <td>
                                <span class="text-success">√ 300秒</span>
                            </td>
                            <td>30秒</td>
                        </tr>

                        <tr>
                            <td>
                                PHP扩展：mbstring
                                <div class="text-muted">该扩展用于处理中文字符</div>
                            </td>
                            <td>必须</td>
                            <td>
                                <span class="text-success">√ 已安装</span>
                            </td>
                            <td>必须</td>
                        </tr>

                        <tr>
                            <td>
                                PHP扩展：curl
                                <div class="text-muted">该扩展用于远程读取文件</div>
                            </td>
                            <td>必须</td>
                            <td>
                                <span class="text-success">√ 已安装</span>
                            </td>
                            <td>必须</td>
                        </tr>

                        <tr>
                            <td>
                                PHP扩展：GD
                                <div class="text-muted">该扩展用于处理图片</div>
                            </td>
                            <td>必须</td>
                            <td>
                                <span class="text-success">√ 已安装</span>
                            </td>
                            <td>必须</td>
                        </tr>
                    </tbody>
                </table>

                <table class="table table-hover table-striped table-bordered">
                    <thead>
                        <tr>
                            <th width="60%">文件、目录权限检查</th>
                            <th width="20%">当前状态</th>
                            <th width="20%">所需状态</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td> 安全模式 </td>
                            <td>
                                <span class="text-success">√ 关闭</span>
                            </td>
                            <td>关闭</td>
                        </tr>
                        <tr>
                            <td>app/config/parameters.yml</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>app/data/udisk</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>app/data/private_files</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>web/files</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>web/install</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>app/cache</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>app/data</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                        <tr>
                            <td>app/logs</td>
                            <td>
                                <span class="text-success">√ 可写</span>
                            </td>
                            <td>可写</td>

                        </tr>
                    </tbody>
                </table>

                <div class="actions">
                    <a class="btn btn-primary btn-lg" href="start-install.php?step=2">下一步</a>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
